package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;


/**
 * 外协明细对象 查询条件类
 *
 * @author qijian
 * @date 2021-10-15
 */

@Data
@ToString
@TableName("main_item")
public class OutReportQuery {
    @WhereType(filed = "project_no", tableName = "a")
    private String projectNo;
    @WhereType(filed = "item_name", tableName = "main_item")
    private String itemName;
    @WhereType(filed = "nick_name", tableName = "sys_user")
    private String nickName;
    @WhereType(filed = "project_no", tableName = "a", type = WhereTypeEnum.IN)
    private List<String> projectNos;

    @WhereType(filed = "create_time", type = WhereTypeEnum.BETWEEN)
    private Date[] createTime;
}
